package com.indusfo.spc.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.indusfo.spc.common.pojo.BasePojo;

import java.util.Date;

/**
 * @Author liub
 * @Date 2019/12/5 15:05
 * @Version 1.0
 */

public class BatchDete extends BasePojo {
    /**
     * 批次流程采集参数ID
     */
    private Integer batchDeteId;
    /**
     * 批次流程ID
     */
    private Integer batchFlowId;
    /**
     * 采集参数ID
     */
    private Integer deteId;
    /**
     * 排序数量
     */
    private Integer serialNum;
    /**
     * 样品数量
     */
    private Integer sampleNum;
    /**
     * 上限值
     */
    private String upperLimit;
    /**
     * 下限值
     */
    private String lowerLimit;
    /**
     * 中心值
     */
    private String middleLimit;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;
    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modifyDate;
    /**
     * 说明
     */
    private String remark;
    /**
     * 数据状态
     */
    private Integer dataState;

    /*                          新增字段                                    */

    /**
     * 采集参数编号
     */
    private String deteCode;
    /**
     * 采集参数名称
     */
    private String deteName;
    /**
     * 采集参数单位ID
     */
    private Integer deteUnitId;
    /**
     * 采集参数单位名称
     */
    private String deteUnitName;
    /**
     * 采集参数仪器类型ID
     */
    private Integer insTypeId;
    /**
     * 采集参数仪器类型名称
     */
    private String insTypeName;
    /**
     * 采集参数项目类型ID
     */
    private Integer projectTypeId;
    /**
     * 采集参数项目类型名称
     */
    private String projectTypeName;
    /**
     * 采集参数采集类型ID
     */
    private Integer gatherTypeId;
    /**
     * 采集参数采集类型名称
     */
    private String gatherTypeName;

    public Integer getBatchDeteId() {
        return batchDeteId;
    }

    public void setBatchDeteId(Integer batchDeteId) {
        this.batchDeteId = batchDeteId;
    }

    public Integer getBatchFlowId() {
        return batchFlowId;
    }

    public void setBatchFlowId(Integer batchFlowId) {
        this.batchFlowId = batchFlowId;
    }

    public Integer getDeteId() {
        return deteId;
    }

    public void setDeteId(Integer deteId) {
        this.deteId = deteId;
    }

    public Integer getSerialNum() {
        return serialNum;
    }

    public void setSerialNum(Integer serialNum) {
        this.serialNum = serialNum;
    }

    public Integer getSampleNum() {
        return sampleNum;
    }

    public void setSampleNum(Integer sampleNum) {
        this.sampleNum = sampleNum;
    }

    public String getUpperLimit() {
        return upperLimit;
    }

    public void setUpperLimit(String upperLimit) {
        this.upperLimit = upperLimit == null ? null : upperLimit.trim().replace(" ","");
    }

    public String getLowerLimit() {
        return lowerLimit;
    }

    public void setLowerLimit(String lowerLimit) {
        this.lowerLimit = lowerLimit == null ? null : lowerLimit.trim().replace(" ","");
    }

    public String getMiddleLimit() {
        return middleLimit;
    }

    public void setMiddleLimit(String middleLimit) {
        this.middleLimit = middleLimit == null ? null : middleLimit.trim().replace(" ","");
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim().replace(" ","");
    }

    public Integer getDataState() {
        return dataState;
    }

    public void setDataState(Integer dataState) {
        this.dataState = dataState;
    }

    public String getDeteCode() {
        return deteCode;
    }

    public void setDeteCode(String deteCode) {
        this.deteCode = deteCode;
    }

    public String getDeteName() {
        return deteName;
    }

    public void setDeteName(String deteName) {
        this.deteName = deteName;
    }

    public Integer getDeteUnitId() {
        return deteUnitId;
    }

    public void setDeteUnitId(Integer deteUnitId) {
        this.deteUnitId = deteUnitId;
    }

    public String getDeteUnitName() {
        return deteUnitName;
    }

    public void setDeteUnitName(String deteUnitName) {
        this.deteUnitName = deteUnitName;
    }

    public Integer getInsTypeId() {
        return insTypeId;
    }

    public void setInsTypeId(Integer insTypeId) {
        this.insTypeId = insTypeId;
    }

    public String getInsTypeName() {
        return insTypeName;
    }

    public void setInsTypeName(String insTypeName) {
        this.insTypeName = insTypeName;
    }

    public Integer getProjectTypeId() {
        return projectTypeId;
    }

    public void setProjectTypeId(Integer projectTypeId) {
        this.projectTypeId = projectTypeId;
    }

    public String getProjectTypeName() {
        return projectTypeName;
    }

    public void setProjectTypeName(String projectTypeName) {
        this.projectTypeName = projectTypeName;
    }

    public Integer getGatherTypeId() {
        return gatherTypeId;
    }

    public void setGatherTypeId(Integer gatherTypeId) {
        this.gatherTypeId = gatherTypeId;
    }

    public String getGatherTypeName() {
        return gatherTypeName;
    }

    public void setGatherTypeName(String gatherTypeName) {
        this.gatherTypeName = gatherTypeName;
    }
}